package com.VolunteerPlatform.Dao;

import com.VolunteerPlatform.Entity.AdminIdentity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by DoveXL on 2018/12/3.
 */
@Repository
public interface AdminIdentityDao {
    public List<AdminIdentity> getIdentityInfo(@Param("AdminID") String AdminID,@Param("AdminStatus") String AdminStatus, @Param("Page") int page,@Param("PageList") int PageList);

    public int updateIdentityInfo(@Param("AdminID") String AdminID,@Param("AdminName") String AdminName,@Param("AdminStatus") String AdminStatus);

    public int insertIndentityInfo(@Param("AdminID") String AdminID,@Param("AdminName") String AdminName,@Param("AdminStatus") String AdminStatus);


}
